﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<%@ Import Namespace="ThietBiSo.LinQDB" %>
<%@ Import Namespace="ThietBiSo.UrlReview" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Liên hệ
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%
        
        var bv = (LienHe)ViewData["lienhes"];
      
    %>
    <div class="ptvbotronsp">
        <div class="ptvhead_title">
            <h1>
                Liên hệ
            </h1>
        </div>
        <div style="background: url(../../Content/images/img/cart_header.png) repeat-x bottom left;
            width: 600px; color: #1F1F1F; height: 38px; line-height: 38px; border: 1px solid #CCC;
            font-weight: bold; margin-left: 10px;margin-top:10px;">
            <span style="margin-left: 20px;">THÔNG TIN LIÊN HỆ</span><br />
            &nbsp;</div>
        <div style="text-align: justify; margin-bottom: 10px; margin-left: 20px; margin-right: 20px;
            font-size: 14px; font-family: Times New Roman; line-height: 25px; margin-top: 10px;">
            <%=System.Net.WebUtility.HtmlDecode(bv.NoiDung)%>
        </div>
        <div>
            <div style="background: url(../../Content/images/img/cart_header.png) repeat-x bottom left;
                width: 600px; color: #1F1F1F; height: 38px; line-height: 38px; border: 1px solid #CCC;
                font-weight: bold; margin-left: 10px;">
                <span style="margin-left: 20px;">GỬI THÔNG TIN LIÊN HỆ</span><br />
                &nbsp;</div>
            <div align="center" style="">
                <div id="msglienhe" style="color: red; text-align: center; font-size: 15px; margin-top: 10px;">
                </div>
                <div style="float: left; margin-left: 20px;">
                    <div class="dathangproduct" style="width: 580px; float: left">
                        <div>
                            <div class="filedContact">
                                Họ tên
                            </div>
                            <div class="textContact">
                                <%:Html.TextBox("HoTen_lh",null, new { @style = "width:300px" })%>
                            </div>
                        </div>
                        <div>
                            <div class="filedContact">
                                Email
                            </div>
                            <div class="textContact">
                                <%:Html.TextBox("Email_lh", null, new { @style = "width:300px" })%>
                            </div>
                        </div>
                        <div>
                            <div class="filedContact">
                                Điện thoại
                            </div>
                            <div class="textContact">
                                <%:Html.TextBox("SoDienThoai_lh", null, new { @style = "width:300px" })%>
                            </div>
                        </div>
                        <div>
                            <div class="filedDiaChiContact">
                                Địa chỉ
                            </div>
                            <div class="textAreaContact">
                                <%:Html.TextArea("DiaChi_lh", null, new { @style = "width:300px" })%>
                            </div>
                        </div>
                        <div>
                            <div class="filedLoiNhacContact">
                                Lời nhắc
                            </div>
                            <div class="textAreaContact">
                                <%:Html.TextArea("ChiTiet_lh", null, new { @style = "width:300px; height:100px" })%>
                            </div>
                        </div>
                        <div>
                            <div class="filedContact">
                                Nhập mã xác nhận:
                            </div>
                            <div class="textContact">
                                <div>
                                    <%:Html.TextBox("inputCaptcha", null, new { @style = "float:left;width:100px;margin-left:35px; padding-top:5px;" })%>
                                </div>
                                <div style="float: left">
                                    <input type="text" id="txtCaptcha" style="background-image: url(../../Content/images/img/bg/code.png);
                                        text-align: center; border: none; width: 70px; height: 20px; margin-left: 5px;
                                        font-weight: bold; font-family: Modern" />
                                </div>
                                <div style="float: left">
                                    <input type="button" style="border: 0; color: #0000ee; background-color: White; float: left"
                                        id="btnrefresh" value="Chọn mã khác" onclick="DrawCaptcha();" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div style="padding-top: 10px; float: left; margin-left: 200px; margin-bottom: 10px;">
                    <div style="">
                        <input type="button" value="Gửi liên hệ" class="btn" onclick="lienhe_submit();" />
                    </div>
                </div>
            </div>
        </div>
        <div class="ptvclear">
        </div>
    </div>
</asp:Content>
